package sso.lry.system.cotroller;

import com.lry.sso.service.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import sso.lry.system.vo.PermissionVo;

/**
 * @author 李瑞益
 * @date 2020-03-02 20:57
 */
@RestController
@RequestMapping("/sso/sys/v1/permissions")
public class PermissionController {

    @Autowired
    private PermissionService permissionService;

    @PostMapping
    public void insert(@RequestBody PermissionVo permissionVo){

    }

    @DeleteMapping("/{permissionId}")
    public void delete(@PathVariable Long permissionId){

    }

    @PutMapping
    public void update(@RequestBody PermissionVo permissionVo){

    }

    @GetMapping("/{permissionId}")
    public void getOne(@PathVariable Long permissionId){

    }

    @GetMapping
    public void getAll(){

    }
}
